package com.bolang.onlycode.demo.activemq.Consumer;

import groovy.util.logging.Slf4j;
import org.springframework.jms.annotation.JmsListener;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class ConsumerA {
    @JmsListener(destination = "first")
    public void receiveQueue(String text)
    {
        System.out.println("ConsumerA queue msg : {}"+ text);
    }
}
